package com.shihang.crm.service;

import com.shihang.crm.bean.Customer;
import com.shihang.crm.utils.PageBean;
import org.hibernate.criterion.DetachedCriteria;

/**
 *啥的
 */
public interface CustomerService {

    //分页业务方法
    PageBean getPageBean(DetachedCriteria customer, int currentPage, int pageSize);
    //保存客户
    void save(Customer customer);

    void saveOrUpDate(Customer customer);

    Customer getById(Customer customer);


}
